projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
681871d
)
Fix visibility notification event reporting
author
Alexander Larsson
<alexl@redhat.com>
Fri, 20 Jan 2012 10:01:23 +0000
(11:01 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 20 Jan 2012 10:01:49 +0000
(11:01 +0100)
We were checking the event mask for GDK_VISIBILITY_NOTIFY,
not GDK_VISIBILITY_NOTIFY_MASK, which was clearly a typo.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index 0b9eacc7decc768c8254ba23bc7b6e2fd2f324fc..8dddcd1704ccfb6da72953b4e3de04115a884ef6 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-824,7
+824,7
@@
gdk_window_update_visibility (GdkWindow *window)
window->effective_visibility = new_visibility;
if (new_visibility != GDK_VISIBILITY_NOT_VIEWABLE &&
- window->event_mask & GDK_VISIBILITY_NOTIFY)
+ window->event_mask & GDK_VISIBILITY_NOTIFY
_MASK
)
{
event = _gdk_make_event (window, GDK_VISIBILITY_NOTIFY,
NULL, FALSE);